package com.example.exoplayerdemo

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.content.Intent
import android.view.View

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
    }

    fun goto1(view: View) {
        startActivity(Intent(this, SampleActivity1::class.java))
    }

    fun goto2(view: View) {
        startActivity(Intent(this, SampleActivity2::class.java))
    }

    fun goto3(view: View) {
        // https://yangyu.blog.csdn.net/article/details/78550625
        // https://blog.csdn.net/ctianju/article/details/79239607
        // https://blog.csdn.net/tst116/article/details/118101947

//        PlayerControlView
//        com.google.android.exoplayer2.ui.R.layout.exo_player_control_view
        startActivity(Intent(this, SampleActivity3::class.java))
    }

    fun goto4(view: View) {
        startActivity(Intent(this, SampleActivity4::class.java))
    }

    fun goto5(view: View) {
    }
}